package com.mykong.common;


// managed bean using xml config jsf 1.2

public class HelloBean {
	private String name;
	
	private String sayWelcome;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getSayWelcome()
	{
		// check if null?
		if("".equals(name) || name == null)
		{
			return "";
		}
		else
		{
			return "Ajax message : Welcome " + name;
		}
	}
}
